package com.tbsoft.ehr.service.common;

import java.io.IOException;
import java.util.List;

import com.tbsoft.ehr.model.AttachFile;
import com.tbsoft.ehr.service.BaseService;

/**
 * @desc 附件上传service
 * @author vastdream
 *
 */
public interface UploadFileService extends BaseService {
	/**
	 * 临时保存上传的附件
	 * @param upLoadFileName
	 * @param receiveFileName
	 * @return 文件名
	 */
	public String receiveFile(String upLoadFileName,String receiveFileName) throws IOException ;
	/**
	 * @desc 根据业务id查找对就附件列表 
	 * @param businessId
	 * @return
	 */
	public List<AttachFile> getAttachListByBusinessId(String businessId);
}
